package org.come.entity;

import java.util.List;
import java.math.BigDecimal;

public class Mount
{
    private BigDecimal mid;
    private Integer mountid;
    private String mountname;
    private Integer mountlvl;
    private Integer live;
    private Integer spri;
    private Integer power;
    private Integer bone;
    private Integer exp;
    private BigDecimal roleid;
    private BigDecimal sid;
    private BigDecimal othrersid;
    List<MountSkill> mountskill;
    private Integer useNumber;
    private Integer Proficiency;
    private Integer moveGrade;
    private BigDecimal sid3;
	// 管制的召唤兽  
	private BigDecimal sid4;
	// 管制的召唤兽  
	private BigDecimal sid5;
    private  int shouhu=0;
    /** 1.青龙 2.白虎 3.玄武 4.朱雀*/
    private int sh=0;//
    //
    private Integer useSXNumber;
	public boolean isID(BigDecimal ID){
		if (ID==null) {return false;}
		if (sid!=null&&sid.compareTo(ID)==0) {return true;}
		if (othrersid!=null&&othrersid.compareTo(ID)==0) {return true;}
		if (sid3!=null&&sid3.compareTo(ID)==0) {return true;}
		if (sid4!=null&&sid4.compareTo(ID)==0) {return true;}
		if (sid5!=null&&sid5.compareTo(ID)==0) {return true;}
		return false;	
	}
    public BigDecimal getMid() {
        return this.mid;
    }
    
    public void setMid(final BigDecimal mid) {
        this.mid = mid;
    }
	
	public BigDecimal getSid4() {
		return sid4;
	}
	public void setSid4(BigDecimal sid4) {
		this.sid4 = sid4;
	}	
	
	
	
	public BigDecimal getSid5() {
		return sid5;
	}
	public void setSid5(BigDecimal sid5) {
		this.sid5 = sid5;
	}	
    public Integer getMountid() {
        return this.mountid;
    }
    
    public void setMountid(final Integer mountid) {
        this.mountid = mountid;
    }
    
    public String getMountname() {
        return this.mountname;
    }
    
    public void setMountname(final String mountname) {
        this.mountname = mountname;
    }
    
    public Integer getMountlvl() {
        return this.mountlvl;
    }
    
    public String getMountlvlString() {
        if (this.mountlvl.intValue() <= 100) {
            return this.mountlvl + "级";
        }
        return "点化" + (this.mountlvl.intValue() - 100) + "级";
    }
    
    public void setMountlvl(final Integer mountlvl) {
        this.mountlvl = mountlvl;
    }
    
    public Integer getLive() {
        return this.live;
    }
    
    public void setLive(final Integer live) {
        this.live = live;
    }
    
    public Integer getSpri() {
        return this.spri;
    }
    
    public void setSpri(final Integer spri) {
        this.spri = spri;
    }
    
    public Integer getPower() {
        return this.power;
    }
    
    public void setPower(final Integer power) {
        this.power = power;
    }
    
    public Integer getBone() {
        return this.bone;
    }
    
    public void setBone(final Integer bone) {
        this.bone = bone;
    }
    
    public Integer getExp() {
        return this.exp;
    }
    
    public void setExp(final Integer exp) {
        this.exp = exp;
    }
    
    public BigDecimal getRoleid() {
        return this.roleid;
    }
    
    public void setRoleid(final BigDecimal roleid) {
        this.roleid = roleid;
    }
    
    public BigDecimal getOthrersid() {
        return this.othrersid;
    }
    
    public void setOthrersid(final BigDecimal othrersid) {
        this.othrersid = othrersid;
    }
    
    public List<MountSkill> getMountskill() {
        return this.mountskill;
    }
    
    public void setMountskill(final List<MountSkill> mountskill) {
        this.mountskill = mountskill;
    }
    
    public BigDecimal getSid() {
        return this.sid;
    }
    
    public void setSid(final BigDecimal sid) {
        this.sid = sid;
    }
    
    public Integer getUseNumber() {
        return this.useNumber;
    }
    
    public void setUseNumber(final Integer useNumber) {
        this.useNumber = useNumber;
    }
    
    public Integer getProficiency() {
        return this.Proficiency;
    }
    
    public void setProficiency(final Integer proficiency) {
        this.Proficiency = proficiency;
    }
    
    public BigDecimal getSid3() {
        return this.sid3;
    }
    
    public void setSid3(final BigDecimal sid3) {
        this.sid3 = sid3;
    }
	public Integer getMoveGrade() {
		if(moveGrade == null) {
			moveGrade = 0;
		}
		return moveGrade;
	}
	public void setMoveGrade(Integer moveGrade) {
		this.moveGrade = moveGrade;
	}

    public int getShouhu() {
        return shouhu;
    }

    public void setShouhu(int shouhu) {
        this.shouhu = shouhu;
    }

    public int getSh() {
        return sh;
    }

    public void setSh(int sh) {
        this.sh = sh;
    }

    public Integer getUseSXNumber() {
        return useSXNumber;
    }

    public void setUseSXNumber(Integer useSXNumber) {
        this.useSXNumber = useSXNumber;
    }
}
